<template>
  <div>
    App
    <button @click="bBar = !bBar">update bBar</button>
    <hr />
    <Test v-if="bBar" />
  </div>
</template>

<script>
import Test from './Test.vue'
import { ref } from 'vue'
export default {
  components: {
    Test,
  },
  setup() {
    const bBar = ref(true)
    return { bBar }
  },
}
</script>

<style lang="scss" scoped></style>
